/* filename: math.x */
const ADD = 0;
const SUB = 1;
const MUL = 2;
const DIV = 3;
struct MATH
{
	int op; /* 0-ADD, 1-SUB, 2-MUL, 3-DIV */
	float arg1;
	float arg2;
};
program MATH_PROG
{
	version MATH_VERSION
	{
		float math_add(struct MATH) = 1;
		float math_sub(struct MATH) = 2;
	    float math_mul(struct MATH) = 3;
		float math_div(struct MATH) = 4;
	} = 2;
} = 0x20000001;
